class AddModelCategories < ActiveRecord::Migration
  def self.up
    create_table :categories do |t|
      t.column :name, :string
      t.column :description, :text
      t.column :budget, :float
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.column :user_id, :integer
    end    
  end

  def self.down
    drop_table :categories
  end
end
